﻿Imports System.Collections.ObjectModel
Imports Org.BouncyCastle.X509
Imports SharedTools

Public Class Repository
    Public Shared Property Password As String
    Public Shared Property Data As CAdata = New CAdata


    Public Shared Property Requests As New ObservableCollection(Of CertificateRequestItem)

    Public Shared Property Certificates As New ObservableCollection(Of CertificateItem)

    Public Shared Property CRL As X509Crl

    Public Shared Sub ResetAll()
        Data = New CAdata
        Certificates.Clear()
        Password = String.Empty
        Requests.Clear()
    End Sub
End Class
